<?php

namespace app\api\controller;

use think\Controller;

class About extends Controller
{
    //颐投介绍
    public function about()
    {
        $about = model('common/About') -> field('content') -> find();
        if ($about){
            return json(['code' => 100, 'msg' => '请求成功！','data' => $about]);
        } else {
            return json(['code' => 404 ,'msg' => '请求失败！']);
        }
    }
}
